<?php


namespace App\Http\Controllers;
use App\Models\Agent as AgentModel;

class agent extends Controller
{
    public function agent()
    {
        $agent = new AgentMOdel();
        $agentRows = $agent -> get();
        return view("agent")->with('agentRows',$agentRows);
    }
}
